package io.admin.modules.sys.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.util.Date;

/**
 * 用户消息表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-07-17
 */
@Data
public class MessageExcel {
    @ExcelProperty(value = "消息id")
    private Long id;
    @ExcelProperty(value = "推送信息类型 1公告2消息")
    private Integer msgType;
    @ExcelProperty(value = "消息类型（1施工通知、2项目验收通过、3项目验收驳回）")
    private Integer type;
    @ExcelProperty(value = "信息标题")
    private String title;
    @ExcelProperty(value = "消息内容")
    private String content;
    @ExcelProperty(value = "用户Id")
    private Long userId;
    @ExcelProperty(value = "创建日期")
    private Date createDate;
    @ExcelProperty(value = "是否已读（0-未读，1-已读）")
    private Integer isRead;
    @ExcelProperty(value = "外建id")
    private Long keyIds;

}